OTP\Handler\Forms\RegistrationMagicForm S

Total Complexity 48
Dependencies 6
Dependents 0
Total lines 222
Lines of code 142
Logical lines of code 93
Comment lines 0
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
checkIfPromptForOTP()
S
61 5 11
miniorange_crf_user()
S
59 4 14
parseFormDetails()
S
59 4 13
handleForm()
S
61 4 11
_handle_crf_form_submit()
S
68 4 6
handleFormOptions()
S
61 3 12
getFieldID()
S
67 3 6
getPhoneNumberSelector()
S
70 3 6
handle_failed_verification()
S
65 3 8
isPhoneNumberAlreadyInUse()
S
65 2 9
getFormPostSubmittedValue()
S
78 2 3
checkIfValidated()
S
73 2 5
isEmailVerificationEnabled()
S
75 2 4
isPhoneVerificationEnabled()
S
75 2 4
__construct()
S
59 1 14
getCRFPhoneFromRequest()
S
71 1 5
getCRFEmailFromRequest()
S
71 1 5
handle_post_verification()
S
80 1 3
unsetOTPSessionVariables()
S
79 1 3